package com.health.warehouse.model.dto;


import jakarta.validation.constraints.Min;
import jakarta.validation.constraints.NotNull;
import lombok.Data;

/**
 * @author zhexueqi
 * @ClassName linkItemToWareHouseRequest
 * @since 2024/9/1    21:05
 */
@Data
public class linkItemToWareHouseRequest {

    /**
     * 仓库ID
     */
    @NotNull
    @Min(value = 1, message = "仓库ID不能为空")
    private Long warehouseId;

    /**
     * 物品ID
     */
    @NotNull
    @Min(value = 1, message = "物品ID不能为空")
    private Long itemId;
}
